package com.zxh.blog.util.excelDemo;

/**
 * @Author:wb-zxh410423
 * @Description:列配置
 * @Date: Created in 11:04 2018/12/11
 */
public class ExcelColumnConfigModel {

	/**
	 * 列字段名称
	 */
	private String name;

	/**
	 * 列头名称
	 */
	private String headerName;

	/**
	 * 是否可空
	 */
	private boolean canEmpty;

	/**
	 * 所在顺序
	 */
	private int colIndex;

	public ExcelColumnConfigModel(String name,String headerName,boolean canEmpty,int colIndex){
		this.name = name;
		this.headerName = headerName;
		this.canEmpty = canEmpty;
		this.colIndex = colIndex;
	}

	public String getName() {             
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHeaderName() {
		return headerName;
	}

	public void setHeaderName(String headerName) {
		this.headerName = headerName;
	}

	public boolean canEmpty() {
		return canEmpty;
	}

	public void setCanEmpty(boolean canEmpty) {
		this.canEmpty = canEmpty;
	}

	public int getColIndex() {
		return colIndex;
	}

	public void setColIndex(int colIndex) {
		this.colIndex = colIndex;
	}
}
